<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>商家管理后台</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Bootstrap 3.3.4 -->
    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- FontAwesome 4.3.0 -->
 	<link href="__PUBLIC__/bootstrap/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
    <!-- Ionicons 2.0.0 --
    <link href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css" rel="stylesheet" type="text/css"/>
    <!-- Theme style -->
    <link href="__PUBLIC__/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
    <link href="__PUBLIC__/dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
    <!-- iCheck -->
    <link href="__PUBLIC__/plugins/iCheck/flat/blue.css" rel="stylesheet" type="text/css" /> 
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->   
    <!-- jQuery 2.1.4 -->
    <script src="__PUBLIC__/plugins/jQuery/jQuery-2.1.4.min.js"></script>
    <script src="__PUBLIC__/js/global.js"></script>
    <script src="__PUBLIC__/js/upgrade.js"></script>
	<script src="__PUBLIC__/js/layer/layer.js"></script><!--弹窗js 参考文档 http://layer.layui.com/--> 
    <style type="text/css">
    	#riframe{min-height:inherit !important}
		.tpmenu{float:left;padding-left:100px;height:50px;}
		.menu_list{}
		.menu_list li{list-style:none;width:30px;height:48px;float:left;}
    </style>
  </head>
<body class="sidebar-mini skin-black" style="overflow-y:hidden;">
<div class="wrapper">
  <header class="main-header">
      <!-- Logo -->
      <a href="/index.php/Seller/Index/index" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b></b></span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><img src="/Public/images/TP-shop_logo.png" width="45" height="45">&nbsp;&nbsp;<b>{$store.store_name}管理中心</b></span>
      </a>
      <!-- Header Navbar: style can be found in header.less -->
      <nav class="navbar navbar-static-top" role="navigation">        
        <div class="navbar-custom-menu">
          <ul class="nav navbar-nav">
          <if condition="$upgradeMsg[0] neq null">
               <li>
                  <a href="javascript:void(0);" id="a_upgrade">
                      <i class="glyphicon glyphicon-upload"></i>
                      <span  style="color:#FF0;">{$upgradeMsg.0}&nbsp;</span>
                  </a>
               </li>
           </if>
		             
          
           <li>
               <a href="{:U('/Seller/Admin/cleanCache')}">
                   <i class="glyphicon glyphicon glyphicon-refresh"></i>
                   <span>清除缓存</span>
               </a>
           </li>
          <li>
               <a target="_blank" href='http://{$Think.config.ERP_URL}login/crmLogin?is_api=1&data={$Think.session.admin_name.data|urlencode}'>
                  <!-- <i class="glyphicon glyphicon glyphicon-refresh"></i> -->
                   <span>ERP系统</span>
               </a>
           </li>          
           <li class="dropdown user user-menu">
              <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                <!--<img src="__PUBLIC__/dist/img/user2-160x160.jpg" class="user-image" alt="User Image">-->
                <i class="glyphicon glyphicon-user"></i>
                <span class="hidden-xs">欢迎：{$seller.seller_name}</span>
              </a>
              <ul class="dropdown-menu">
                <li class="user-footer">
                  <div class="pull-left">
                  	<a href="{:U('Home/Store/index',array('store_id'=>STORE_ID))}" data-url="" target="_blank" class="btn btn-default btn-flat">店铺首页</a>
                   	<a href="{:U('Admin/admin_info',array('seller_id'=>$seller['seller_id']))}" target="rightContent" class="btn btn-default btn-flat">修改密码</a>
                   	<a href="{:U('Admin/logout')}" class="btn btn-default btn-flat">安全退出</a>
                  </div>
                </li>
              </ul>
            </li>
            <!-- Control Sidebar Toggle Button -->
            <li><a href="/index.php/Seller/Index/index"><i class="fa fa-street-view"></i>首页</a></li>
          </ul>
        </div>
     </nav>
</header> 